package com.artwork.service;

import com.artwork.model.Article;

import java.util.List;

/**
 * @Author JoJo
 * @Data 2021/9/8$ 14:51$
 * @Description
 * @Param $
 * @Return $
 */
public interface ArticleService {
    List<Article> getList();

    int addArticle(Article article);

    Article getArticleById(Integer id);

    int updateArticle(Article article);

    int pushArticle(int id, int status);

    int deleteArticle(int id);
}
